package interfacedemo;

public class PingPongCoach extends Person implements LearnEnglish{
    public PingPongCoach() {
    }
    public PingPongCoach(String name,int age) {
        super(name,age);
    }
    @Override
    public void speakEnglish() {
        System.out.println("乒乓球教练说英语");
    }
    @Override
    public void action() {
        System.out.println(getAge()+"岁的乒乓球教练"+getName()+"教乒乓球");
    }
}
